<?php
$items = array (
  array (
    'path' => 'admin/build/block/dvbanner',
    'title' => t('Banner'),
    'access' => user_access ('administer banner'),
    'callback' => 'drupal_get_form',
    'callback arguments' => array ('dvbanner_banner_list'),
  	'type' => MENU_LOCAL_TASK
  ),
  array (
    'path' => 'admin/build/block/dvbanner/block',
    'title' => t('Banner block'),
    'type' => MENU_DEFAULT_LOCAL_TASK
  ),
  array (
    'path' => 'admin/build/block/dvbanner/banner',
    'title' => t('Banner item'),
    'callback' => 'drupal_get_form',
    'callback arguments' => array ('dvbanner_item_list'),
  	'type' => MENU_LOCAL_TASK
  ),
  array (
    'path' => 'admin/build/block/dvbanner/banner/edit',
    'title' => t('Banner item'),
    'callback' => 'drupal_get_form',
    'callback arguments' => array ('dvbanner_item_edit'),
  	'type' => MENU_LOCAL_TASK
  ),
  array (
    'path' => 'admin/build/block/dvbanner/report',
    'title' => t('Report'),
    'callback' => 'drupal_get_form',
    'callback arguments' => array ('dvbanner_report'),
    'type' => MENU_LOCAL_TASK
  ),
  
  // Player profile
  array (
    'path' => 'admin/build/block/dvbanner/profiles',
    'title' => t('Player profiles'),
    'callback' => 'drupal_get_form',
    'callback arguments' => array ('dvbanner_profile_list'),
    'type' => MENU_LOCAL_TASK,
    'weight' => 10
  ),
  array (
    'path' => 'admin/build/block/dvbanner/profiles/add',
    'title' => t('Add new player profile'),
    'callback' => 'drupal_get_form',
    'callback arguments' => array ('dvbanner_profile_add'),
    'type' => MENU_CALLBACK,
  ),
  // ! Player profile
  
  array (
    'path' => 'admin/build/block/dvbanner/add-item',
    'title' => t('Add banner item'),
    'type' => MENU_LOCAL_TASK,
    'weight' => 1,
    'callback' => 'drupal_get_form',
    'callback arguments' => array ('dvbanner_item_add')
  ),
  array (
    'path' => 'admin/build/block/dvbanner/add-block',
    'title' => t('Add banner block'),
    'type' => MENU_LOCAL_TASK,
    'weight' => 1,
    'callback' => 'drupal_get_form',
    'callback arguments' => array ('dvbanner_block_add')
  ),
  array (
    'path' => 'banner',
    'access' => true,
    'callback' => 'dvbanner_click',
    'type' => MENU_CALLBACK
  ),
  array (
    'path' => 'dvbanner/autocomplete',
    'access' => true,
    'callback' => 'dvbanner_autocomplete',
  	'type' => MENU_CALLBACK
  ),
  array (
    'path' => 'dvbanner/playlist',
    'access' => true,
    'callback' => 'dvbanner_playlist_rss',
  	'type' => MENU_CALLBACK
  )
);
